package ${package}mapper;


import ${package}pojo.${pojo_name_query_param};
import ${package}pojo.${pojo_name};
import java.util.List;

public interface ${pojo_name_mapper}  {

    /**
    * 新增
    * @author Auto generate
    * @date ${gen_time}
    **/
    int insert(${pojo_name} ${pojo_name ? uncap_first});

    /**
    * 刪除
    * @author Auto generate
    * @date ${gen_time}
    **/
    int delete(int id);
    /**
    * 批量删除
    * @author Auto generate
    * @date ${gen_time}
    **/
    int batchDelete(List<Integer> ids);

    /**
    * 更新
    * @author Auto generate
    * @date ${gen_time}
    **/
    int update(${pojo_name} ${pojo_name ? uncap_first});

    /**
    * 查询 根据主键 id 查询
    * @author Auto generate
    * @date ${gen_time}
    **/
    ${pojo_name} details(int id);

    /**
    * 查询 分页查询
    * @author xiaohan
    * @date ${gen_time}
    **/
    List<${pojo_name}> pageList(${pojo_name_query_param} ${pojo_field_name_query_param} );

}